//////////////////////////////////////////////////////////////////
// (c) Copyright 2009-  by Jeongnim Kim
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
//   National Center for Supercomputing Applications &
//   University of Illinois, Urbana-Champaign
//   Urbana, IL 61801
//   e-mail: jnkim@ncsa.uiuc.edu
//
// Supported by 
//   National Center for Supercomputing Applications, UIUC
//////////////////////////////////////////////////////////////////
// -*- C++ -*-
/** @file Configuration.h
 * @brief Master header file to define convenient functions
 */
#ifndef BENCHMARK_CONFIGURATION_H
#define BENCHMARK_CONFIGURATION_H
#include <Utilities/OhmmsInfo.h>
using namespace std;

inline std::ostream& app_log() 
{ 
  return  OhmmsInfo::Log->getStream(); 
}

inline std::ostream& app_error()
{ 
  OhmmsInfo::Log->getStream() << "ERROR ";
  return OhmmsInfo::Error->getStream();
}

inline std::ostream& app_warning()
{
  OhmmsInfo::Log->getStream() << "WARNING ";
  return OhmmsInfo::Warn->getStream();
}

inline std::ostream& app_debug()
{
  return OhmmsInfo::Debug->getStream();
}

#endif
